package cn.hj.domain.strategy.service.rule.chain;

public abstract class AbstractLogicChain implements ILogicChain {

    /**
     * 下一个节点
     */
    private ILogicChain next;


    @Override
    public ILogicChain appendNext(ILogicChain next) {
        this.next = next;
        return next;
    }

    @Override
    public ILogicChain next() {
        return next;
    }


    protected abstract String ruleModels();
}
